package global

import (
	"cachecron/config"
	"database/sql"
	"github.com/go-redis/redis/v7"
	"github.com/spf13/viper"
)

type Config struct {
	Configuration config.Configuration
	DB            *sql.DB
	Redis         *redis.Client
	Viper         *viper.Viper
}

var App = new(Config)
